package Capitulo08.Exercicios;

public class Foo {

	Foo(){
		System.out.println("Foo");
	}

	class Bar{

		Bar(){
			System.out.println("Bar");
		}
		public void go(){
			System.out.println("HI");
		}
	}

	public static void main(String[] args) {
		Foo f = new Foo();
		f.makeBar();
	}

	void makeBar(){
		(new Bar(){ }).go();
	}
}
